package com.wzdigit.wms.hm.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 批次号，用于生成批次号表
 * </p>
 *
 * @author 
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_LOTNO")
@KeySequence(value = "WMS_LOTNO_SEQ", clazz = Integer.class)
public class Lotno extends BasicDomain {

	private static final long serialVersionUID = 7848802312833153826L;
	
	/**
	 * 批次号ID
	 */
	@ApiModelProperty(value = "批次号ID")
	@TableId(value = "LOTNO_ID", type = IdType.INPUT)
	private Integer lotnoId;

	/**
	 * 批次属性ID
	 */
	@ApiModelProperty(value = "批次属性ID")
	@TableField("LOT_ATTR_ID")
    private Integer lotAttrId;

	/**
	 * 批次号
	 */
	@ApiModelProperty(value = "批次号")
	@TableField("LOTNO")
    private String lotno;

	/**
	 * 客户
	 */
	@ApiModelProperty(value = "客户ID")
	@TableField("CUSTOMER_ID")
    private Integer customerId;

	/**
	 * 货品
	 */
	@ApiModelProperty(value = "货品ID")
	@TableField("SKU_ID")
    private Integer skuId;

	/**
	 * 以json格式，key:value形式存储批次属性1-12的内容
	 */
	@ApiModelProperty(value = "以json格式，key:value形式存储批次属性1-12的内容")
	@TableField("LOT_ATTR")
    private String lotAttr;
	
	/**
	 * 与LOT_ATTR类似，但是KEY取的是属性code
	 */
	@ApiModelProperty(value = "与LOT_ATTR类似，但是KEY取的是属性code")
	@TableField("LOT_ATTR_CODE")
    private String lotAttrCode;

	/**
	 * 批次属性1
	 */
	@ApiModelProperty(value = "批次属性1")
	@TableField("LOT_ATTR_1")
    private String lotAttr1;

	/**
	 * 批次属性2
	 */
	@ApiModelProperty(value = "批次属性2")
	@TableField("LOT_ATTR_2")
    private String lotAttr2;

	/**
	 * 批次属性3
	 */
	@ApiModelProperty(value = "批次属性3")
	@TableField("LOT_ATTR_3")
    private String lotAttr3;

	/**
	 * 批次属性4
	 */
	@ApiModelProperty(value = "批次属性4")
	@TableField("LOT_ATTR_4")
    private String lotAttr4;

	/**
	 * 批次属性5
	 */
	@ApiModelProperty(value = "批次属性5")
	@TableField("LOT_ATTR_5")
    private String lotAttr5;

	/**
	 * 批次属性6
	 */
	@ApiModelProperty(value = "批次属性6")
	@TableField("LOT_ATTR_6")
    private String lotAttr6;

	/**
	 * 批次属性7
	 */
	@ApiModelProperty(value = "批次属性7")
	@TableField("LOT_ATTR_7")
    private String lotAttr7;

	/**
	 * 批次属性8
	 */
	@ApiModelProperty(value = "批次属性8")
	@TableField("LOT_ATTR_8")
    private String lotAttr8;

	/**
	 * 批次属性9
	 */
	@ApiModelProperty(value = "批次属性9")
	@TableField("LOT_ATTR_9")
    private String lotAttr9;

	/**
	 * 批次属性10
	 */
	@ApiModelProperty(value = "批次属性10")
	@TableField("LOT_ATTR_10")
    private String lotAttr10;

	/**
	 * 批次属性11
	 */
	@ApiModelProperty(value = "批次属性11")
	@TableField("LOT_ATTR_11")
    private String lotAttr11;

	/**
	 * 批次属性12
	 */
	@ApiModelProperty(value = "批次属性12")
	@TableField("LOT_ATTR_12")
    private String lotAttr12;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("COMMENTS")
    private String comments;
}